/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package beans;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionMessage;
import org.apache.struts.upload.FormFile;

/**
 *
 * @author ABDELMOHSEN
 */
public class AddAdvForm extends org.apache.struts.action.ActionForm {
    
    private String url;
    private FormFile img;

    public FormFile getImg() {
        return img;
    }

    public void setImg(FormFile img) {
        this.img = img;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
    
    
    /**
     * @return
     */
    
    public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
        return null;
    }
}
